<template>
  <div class="rightHeader flex-start">
    <img :src="rightHeaderData.src" alt="">
    <span>{{ rightHeaderData.name }}</span>
  </div>
</template>

<script>
export default {
  name: 'rightHeader',
  computed: {
    rightHeaderData () {
      return this.$store.state.addressList.rightHeaderData
    }
  }
}
</script>

<style scoped lang="scss">
.rightHeader {
  width: 100%;
  height: 72px;
  border-bottom: 1px solid #DEE3EC;
  padding-left: 20px;
  img {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    margin-right: 12px;
  }
  span {
    color: #0D172C;
    font-size: 14px;
  }
}
</style>
